package web

import (
	"gin-skeleton/core/response"
	"github.com/gin-gonic/gin"
)

type Home struct {
	Message string
}

func (h Home) Index(c *gin.Context) {
	response.View(c).Render("index.html", gin.H{
		"title": "首页",
	})
}
